package com.bootdo.market.service;

import com.bootdo.market.domain.ProductDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author jinse
 * @email market@jinse.com
 * @date 2019-04-12 17:36:32
 */
public interface ProductService {
	
	ProductDO get(Integer id);
	
	List<ProductDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ProductDO product);
	
	int update(ProductDO product);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
